﻿<%@ Page Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true" CodeBehind="QLTK_THEMTK2.aspx.cs" Inherits="TemplateH4.QLTK_THEMTK" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
        ContextTypeName="LinQ_DTO.EFashionDBDataContext" EnableDelete="True" 
        EnableInsert="True" EnableUpdate="True" OrderBy="UserId" 
        TableName="aspnet_Users">
    </asp:LinqDataSource>
    <br />

    <asp:FormView ID="FormThemTK" runat="server" BackColor="White" 
        BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
        DataKeyNames="UserId" DataSourceID="LinqDataSource1" FooterText=" " 
        GridLines="Horizontal" HeaderText="Thêm User">
        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
        <EditItemTemplate>
            ApplicationId:
            <asp:TextBox ID="ApplicationIdTextBox" runat="server" 
                Text='<%# Bind("ApplicationId") %>' />
            <br />
            UserId:
            <asp:Label ID="UserIdLabel1" runat="server" Text='<%# Eval("UserId") %>' />
            <br />
            UserName:
            <asp:TextBox ID="UserNameTextBox" runat="server" 
                Text='<%# Bind("UserName") %>' />
            <br />
            LoweredUserName:
            <asp:TextBox ID="LoweredUserNameTextBox" runat="server" 
                Text='<%# Bind("LoweredUserName") %>' />
            <br />
            MobileAlias:
            <asp:TextBox ID="MobileAliasTextBox" runat="server" 
                Text='<%# Bind("MobileAlias") %>' />
            <br />
            IsAnonymous:
            <asp:CheckBox ID="IsAnonymousCheckBox" runat="server" 
                Checked='<%# Bind("IsAnonymous") %>' />
            <br />
            LastActivityDate:
            <asp:TextBox ID="LastActivityDateTextBox" runat="server" 
                Text='<%# Bind("LastActivityDate") %>' />
            <br />
            aspnet_Membership:
            <asp:TextBox ID="aspnet_MembershipTextBox" runat="server" 
                Text='<%# Bind("aspnet_Membership") %>' />
            <br />
            aspnet_PersonalizationPerUsers:
            <asp:TextBox ID="aspnet_PersonalizationPerUsersTextBox" runat="server" 
                Text='<%# Bind("aspnet_PersonalizationPerUsers") %>' />
            <br />
            aspnet_Profile:
            <asp:TextBox ID="aspnet_ProfileTextBox" runat="server" 
                Text='<%# Bind("aspnet_Profile") %>' />
            <br />
            aspnet_UsersInRoles:
            <asp:TextBox ID="aspnet_UsersInRolesTextBox" runat="server" 
                Text='<%# Bind("aspnet_UsersInRoles") %>' />
            <br />
            shop_chamdiems:
            <asp:TextBox ID="shop_chamdiemsTextBox" runat="server" 
                Text='<%# Bind("shop_chamdiems") %>' />
            <br />
            shop_comments:
            <asp:TextBox ID="shop_commentsTextBox" runat="server" 
                Text='<%# Bind("shop_comments") %>' />
            <br />
            shop_hoadons:
            <asp:TextBox ID="shop_hoadonsTextBox" runat="server" 
                Text='<%# Bind("shop_hoadons") %>' />
            <br />
            aspnet_Application:
            <asp:TextBox ID="aspnet_ApplicationTextBox" runat="server" 
                Text='<%# Bind("aspnet_Application") %>' />
            <br />
            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                CommandName="Update" Text="Update" />
            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
        </EditItemTemplate>
        <InsertItemTemplate>
    <table class="style1">
        <tr>
            <td>
                ApplicationId:
                <br />
            </td>
            <td>
                <asp:TextBox Text='<%# Bind("ApplicationId") %>' runat="server" id="ApplicationIdTextBox" />
            </td>
        </tr>
        <tr>
            <td>
                UserId:
            </td>
            <td>
                <asp:TextBox Text='<%# Bind("UserId") %>' runat="server" id="UserIdTextBox" />
            </td>
        </tr>
        <tr>
            <td>
                UserName:</td>
            <td>
                <asp:TextBox ID="UserNameTextBox" runat="server" 
                Text='<%# Bind("UserName") %>' />
                </td>
        </tr>
        <tr>
            <td>
                LoweredUserName:</td>
            <td>
                <asp:TextBox ID="LoweredUserNameTextBox" runat="server" 
                Text='<%# Bind("LoweredUserName") %>' />
                </td>
        </tr>
        <tr>
            <td>
                MobileAlias:</td>
            <td>
                            <asp:TextBox ID="MobileAliasTextBox" runat="server" 
                Text='<%# Bind("MobileAlias") %>' /></td>
        </tr>
        <tr>
            <td>
                IsAnonymous:</td>
            <td>
                            <asp:CheckBox ID="IsAnonymousCheckBox" runat="server" 
                Checked='<%# Bind("IsAnonymous") %>' /></td>
        </tr>
        <tr>
            <td>
                LastActivityDate:</td>
            <td>
                            <asp:TextBox ID="LastActivityDateTextBox" runat="server" 
                Text='<%# Bind("LastActivityDate") %>' /></td>
        </tr>
        <tr>
            <td>
                aspnet_Membership:</td>
            <td>
                            <asp:TextBox ID="aspnet_MembershipTextBox" runat="server" 
                Text='<%# Bind("aspnet_Membership") %>' /></td>
        </tr>
        <tr>
            <td>
                aspnet_PersonalizationPerUsers:</td>
            <td>
                            <asp:TextBox ID="aspnet_PersonalizationPerUsersTextBox" runat="server" 
                Text='<%# Bind("aspnet_PersonalizationPerUsers") %>' /></td>
        </tr>
        <tr>
            <td>
                aspnet_Profile:</td>
            <td>
                            <asp:TextBox ID="aspnet_ProfileTextBox" runat="server" 
                Text='<%# Bind("aspnet_Profile") %>' /></td>
        </tr>
        <tr>
            <td>
                aspnet_UsersInRoles:</td>
            <td>
                            <asp:TextBox ID="aspnet_UsersInRolesTextBox" runat="server" 
                Text='<%# Bind("aspnet_UsersInRoles") %>' /></td>
        </tr>
        <tr>
            <td>
                shop_chamdiems:</td>
            <td>
                            <asp:TextBox ID="shop_chamdiemsTextBox" runat="server" 
                Text='<%# Bind("shop_chamdiems") %>' /></td>
        </tr>
        <tr>
            <td>
                shop_comments:</td>
            <td>
                            <asp:TextBox ID="shop_commentsTextBox" runat="server" 
                Text='<%# Bind("shop_comments") %>' /></td>
        </tr>
        <tr>
            <td>
                 shop_hoadons:</td>
            <td>
                            <asp:TextBox ID="shop_hoadonsTextBox" runat="server" 
                Text='<%# Bind("shop_hoadons") %>' /></td>
        </tr>
        <tr>
            <td>
                aspnet_Application:</td>
            <td>
                            <asp:TextBox ID="aspnet_ApplicationTextBox" runat="server" 
                Text='<%# Bind("aspnet_Application") %>' /></td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td headers="Thêm ">
                <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                    CommandName="Insert" Text="Insert" />
                &nbsp;&nbsp;
                <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" 
                    CommandName="Cancel" Text="Cancel" />
            </td>
        </tr>
    </table>
&nbsp;
        </InsertItemTemplate>
        <ItemTemplate>
            Nhấn vào&nbsp;
            <asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                CommandName="New" Text="New" />
            &nbsp; để thêm mới tài khoản<br />
            &nbsp;&nbsp;
        </ItemTemplate>
        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <EditRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
    </asp:FormView>
    <asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
        <WizardSteps>
            <asp:CreateUserWizardStep runat="server" />
            <asp:CompleteWizardStep runat="server" />
        </WizardSteps>
    </asp:CreateUserWizard>
</asp:Content>
